<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class UserCourse extends Model
{
    use SoftDeletes;
    protected $guarded = [];

    public function courseable()
    {
        return $this->morphTo();
    }
}
